home *** CD-ROM | disk | FTP | other *** search
- ####################################################################
- # #
- # makeHaze v0.8 (28 September 1995) - ©1995 by A.Maschke #
- # #
- ####################################################################
-
- CONTENTS
-
- 1. Introduction
- 2. Requirements
- 3. Command-line-options
- 4. Examples
- 5. Author/Registration
- 6. History/TODO
-
- 1. Introduction
- --------------------------------------------------------------------
-
- This program operates on 24Bit-ILBM-pictures to create a
- haze-like-effect. Imagine features such an operator
- called "haze" as global-F/X . This module works fine on single
- images - but it is too slow for animations. So I tried to
- create my own haze-effect. The result is the programm makeHaze.
- It features no antialiasing but has better region-control than
- Imagine's "haze". It's faster, of course.
-
- Summary:
- Advantages: - high speed
- - good quality for animations
- - colors can be locked for the effect, this makes
- it possible to create haze-effects on overlapping
- objects
- - all clusters found in the image are processed
- separately pass by pass
- - image-composing/post-F/X using other software possible
- Disadvantages: - no antialiasing
-
- NOTE: You may ask: What are clusters ?
- All regions of pixels which have the same color and are connected
- by at least one point build one cluster.
- (That means that three seperate red lamps are detected as
- three separate clusters which are processed separately.)
-
- ((The word "cluster" is taken from the Solid State Physics,
- Cu-Atoms on a Fe-surface build "clusters".))
-
- 2. Requirements
- --------------------------------------------------------------------
- *TURBO-version (program "makeHaze")
- -MC68030+ and MC68881+
- -ixemul.library V41+ (supplied)
- -iff.library V23+ (supplied)
- -enough memory
-
- *SLOW-version (program "makeHaze.slow")
- -iff.library V23+ (supplied)
- -enough memory and MHz
-
-
- *memory-consumption:
- normal mode: width*height*2*(3) + (width*height*3)
- fast mode: width*height*2*(clusters+1) + (width*height*3)
- (clusters) (chunky pixels)
-
- 3. Command-line-options
- --------------------------------------------------------------------
-
- Usage: makeHaze <in> <out> <red> <green> <blue> .
- Options: -lines <val> (3<=val<=100)
- -intensity <val> (0.0<val<1.0)
- -fast
- -onecluster
- -mergeclusters <val> (0<=val<=36)
- -clearimage
- -keep <val> <val rgb-vectors>
- -clearimage
-
- Description: -<red>, <green>, <blue> specify the color which is to search
-
- -lines specifies the thickness of the haze
- (good values 10..40)
-
- -<intensity> specifies the base-color of the haze:
- (<red> <green> <blue>)*<intensity>
- (0.2..0.5 are good values)
-
- -<fast> turns on drastical speedup, requires much more
- memory
-
- -<onecluster> merges all clusters, usefull if you have no
- memory and no time
-
- -<mergeclusters> merges all clusters which contain less points
- than <val>
-
- -<clearimage> causes the program to clear the whole image
- before drawing the haze, this makes it possible to
- apply some post-F/X (e.g. blur) to the haze
-
- -the <keep>-parameter is an very useful feature,
- pixels which have one of the specified colors
- are not changed. This allows to create haze-effects
- on overlapping objects, such as a rotating lightball.
-
- Example: makeHaze pic pic2 255 0 0 -keep 2 0 255 0 0 0 255 -fast
- ('Search the color red in picture "pic", create
- picture "pic2", keep all pixels which have one
- of the two colors green or blue')
-
- 4. Examples
- --------------------------------------------------------------------
-
- a) pic.noHaze - source-picture containing some "bright" objects
-
- b) pic.Imagine - result of three haze-passes using Imagine
-
- c) pic.makeHaze - result of three haze-passes using makeHaze
- (the blue color was locked for the green haze)
-
- Time-comparison (all 3 passes, Imagine without rendering):
- Imagine : 558s (9mins 18secs)
- makeHaze : 70s (1min 10secs) (fast mode)
-
- d) pic.lightBall - one frame of a lightball-animation
-
- NOTE: Don't use one of the supplied pictures to test the
- program because all pictures where compressed using
- JPEG. (The read beam in "pic.noHaze" has not the
- color 255 0 0.)
-
-
- 5. Author/Registration
- --------------------------------------------------------------------
- The makeHaze-package belongs to the Dust-project, to get
- registered send $25+postage to the author:
-
- Andreas Maschke
- Zenkerstraße 5
- 06108 Halle/Saale
- Germany
-
- Phone: ++49 (0)345/5170331
- EMail: epgbc@cluster1.urz.Uni-Halle.DE
-
- The following programs belong to the Dust-project
- Dust (recent version: 2.31)
- DustMD
- Mesh2TDDD
- makeHaze
-
- IF YOU PAID FOR ONE OF THIS PROGRAMMS YOU ARE REGISTERED
- FOR ALL OTHERS IN THIS LIST.
-
- 6. History/TODO
- --------------------------------------------------------------------
-
- History
- v0.1 (19 September 1995) - slow, ugly results
- v0.2 (20 September 1995) - fast, better results, keep-option
- v0.3 (21 September 1995) - speed-factor 2
- v0.5 (26 September 1995) - new options <fast>, <oneCluster>, <mergeclusters>
- drastical speedup, some bugs removed
- v0.8 (28 September 1995) - cluster-recognition improved (works fine on complicated objects like lines, circles, ...),
- program needs less memory,
- more speed,
- "elapsed-time"-info
- TODO
- -program works fine for my purposes (lightballs) - nothing to do
-
- (28 September 1995)
-